/**
 * 分班策略
 * 
 * **/

import request from "@/utils/request.js"

// 查询分班策略表格
export function divideClassesStrategyApi(data) {
    // console.log(data);
    return request({
        url: '/edu/divideIntoClasses/list',
        method: 'POST',
        params: data
      })
}

// 新增分班策略
export function addDivideClassesStrategyApi(data) {
    // console.log(data);
    return request({
        url: '/edu/divideIntoClasses/add',
        method: 'POST',
        params: data
      })
}

// 修改策略
export function editDivideClassesStrategyApi(data) {
    // console.log(data);
    return request({
        url: '/edu/divideIntoClasses/edit',
        method: 'POST',
        params: data
    })
}

// 批量删除
export function moreDelete(data) {
    return request({
        url: '/edu/divideIntoClasses/remove',
        method: 'POST',
        params: data
    })
}

// 学生来源
export function getStudentSourceApi(data) {
    return request({
        url: '/edu/typeData/list',
        method: 'POST',
        params: data
    })
}
